package com.ycl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//可直接使用日志（log.info("")）
@Slf4j
// 过滤器注解
@ServletComponentScan
// springBoot 启动类注解
@SpringBootApplication
// 开启事务
@EnableTransactionManagement
// 开启缓存
@EnableCaching
public class ReggieApplication {
	public static void main(String[] args) {
		SpringApplication.run(ReggieApplication.class, args);
		log.info("-项目启动-");
	}// 8f22d9e8-950a-46d9-a40d-e3bbedcd1420
}
